import React, { forwardRef } from 'react'
import { ReactComponent as Workflow } from './Workflow.svg'
import { ReactComponent as WorkflowHovered } from './WorkflowHovered.svg'

export const WorkflowIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <Workflow ref={ref} {...props} className={className || ''} />
})

export const WorkflowHoveredIcon = forwardRef<
  SVGSVGElement & { className: any },
  React.PropsWithChildren<{ className?: string }>
>(({ className, ...props }, ref) => {
  return <WorkflowHovered ref={ref} {...props} className={className || ''} />
})
